<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Flink</title>
    <link rel="shortcut icon" href="/static/images/favicon.ico">
    <link rel="stylesheet" href="/static/lib/layui/css/layui.css" media="all">
    <script src="/static/lib/layui/layui.js" charset="utf-8"></script>
    <script src="/static/lib/jquery.min.js"></script>
    <script type="text/javascript" src="/static/lib/xadmin/xadmin.js"></script>
</head>
<body>
<div class="layui-fluid">
    <div style="padding: 10px;padding-top: 15px;">
        <form class="layui-form" action="">
            <input type="hidden" id="gateway_num" value="">
            <div class="layui-form-item">
                <label class="layui-form-label">配置状态</label>
                <div class="layui-input-block">
                    <select id="alarm_status" lay-verify="required">
                        <option value="1">启用</option>
                        <option value="0">停用</option>
                    </select>
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">检测间隔</label>
                <div class="layui-input-block">
                    <input type="radio" name="testing_interval" value="5" title="5分钟">
                    <input type="radio" name="testing_interval" value="10" title="10分钟">
                    <input type="radio" name="testing_interval" value="15" title="15分钟">
                    <input type="radio" name="testing_interval" value="30" title="30分钟">
                </div>
            </div>
            <div class="layui-form-item">
                <label class="layui-form-label">报警邮箱</label>
                <div class="layui-input-block">
                    <input type="text" id="alarm_email" placeholder="报警邮箱多个英文逗号分割" autocomplete="off" class="layui-input">
                </div>
            </div>
        </form>
        <div class="layui-form-item" style="margin-bottom: 0;">
            <div class="layui-input-block" style="float: right;">
                <button class="layui-btn" onclick="edit()">保存</button>
            </div>
        </div>
    </div>
</div>
</body>
<script src="/static/lib/cookie.js"></script>
<script type="text/javascript" src="/static/js/flink-monitor-restart.js?v=20211014"></script>
</html>